<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录界面</title>
<script src="//cdn.bootcss.com/jquery/2.1.0/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="${contextPath}/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="${contextPath}/css/index.css"/>
</head>
<body>

    <div class="div1">
	<div id="div2">用户登录</div>

	<form class="form-horizontal" action="${contextPath}/login" method="post">
  <div class="input-group col-sm-8 col-sm-offset-2" id="div3">
  <span class="input-group-addon" id="basic-addon1"><span class="glyphicon glyphicon-user"></span></span>
  <input type="text" name="username"  class="form-control" aria-describedby="basic-addon1">
</div>

  <div class="input-group col-sm-8 col-sm-offset-2" id="div5">
  <span class="input-group-addon" id="basic-addon1"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></span>
  <input type="password" name="password" class="form-control"  aria-describedby="basic-addon1">
</div>
  <div class="form-group">
    <div class="col-sm-offset-5 col-sm-10" id="div4">
      <button type="submit" name="submit" class="btn btn-default">登录</button>
      <!-- </form> -->
      <!-- <button type="submit" class="btn btn-default" id="div6">register</button>
      <button type="submit" class="btn btn-default" id="div6">access</button> -->
    </div>
  </div>
</form>
</div>

	${error!}
	<!-- <form action="${contextPath}/login" method="post">
		Username:<input type="text" name="username"><br>
		Password:<input type="password" name="password"><br>
		<input type="submit" value="提交">
	</form> -->
	

</body>
</html>